package Main.day10_12;

/**
 * @auther hewenhui
 * @see <a href="hetp://www.codingmaster.com> java </a>
 */

public class Tset {
    public static void main(String[] args) {
        StringBuffer a = new StringBuffer("A");
        StringBuffer b = new StringBuffer("B");
        fun(a,b);
        System.out.println(a);
        System.out.println(b);
    }
    private static void fun(StringBuffer a, StringBuffer b) {
        a.append(b);
        b=a;
        System.out.println("a="+a);
        System.out.println("b="+b);
    }
}
